package com.aatrox.bhsypro.service.impl;

import com.aatrox.bhsypro.dao.BVideoDao;
import com.aatrox.bhsypro.dao.UAttentionDao;
import com.aatrox.bhsypro.entity.UAttention;
import com.aatrox.bhsypro.service.UAttentionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;

@Service
public class UAttentionServiceImpl implements UAttentionService {
    @Autowired
    UAttentionDao uAttentionDao;
    @Override
    public void insertmes(UAttention b) {
        uAttentionDao.insertmes(b);
        System.out.println("插入成功");
    }

    @Override
    public UAttention selUAttentionForVuid(HashMap hm) {
        UAttention uAttention = uAttentionDao.selUAttentionForVuid(hm);
        return uAttention;
    }
}
